package pers.lmd.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import pers.lmd.domain.R;
import pers.lmd.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 10149
* @description 针对表【user】的数据库操作Service
* @createDate 2023-04-09 16:07:08
*/
public interface IUserService extends IService<User> {

    R<SaTokenInfo> login(Long id, String password, String captcha, String uuid);
    int getRole();
    int getRole(Long id);
}
